package com.stack.admin.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.stack.model.admin.dtos.AdUserDto;
import com.stack.model.admin.dtos.PageQueryDto;
import com.stack.model.admin.pojos.AdUser;
import com.stack.model.common.dtos.ResponseResult;
/**
 * @author llz
 * @date 2023/11/14 20:53
 * @description
 */
public interface AdUserService extends IService<AdUser> {

    /**
     * 登录
     *
     * @param user
     * @return
     */
    ResponseResult login(AdUser user);


    /**
     * 查看用户列表
     *
     * @param dto
     * @return
     */
    ResponseResult getUserList(PageQueryDto dto);

    /**
     * 用户审核通过
     * @return
     */
    ResponseResult authPass(AdUserDto dto);

    /**
     * 用户审核失败
     * @return
     */
    ResponseResult authFail(AdUserDto dto);
}
